var compte="407678305607";
base_url="";
base_gmt="";
var platform="ubuntu";
var name_browser="Firefox";
var version="";

var geonb;
if(isNaN(geonb)){geonb=1;}


function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}

function EcrireCookieGeo(nom,valeur)
{
   date= new Date();
   date.setMonth(date.getMonth()+120);
   var argv=EcrireCookieGeo.arguments;
   var argc=EcrireCookieGeo.arguments.length;
   var expires=(argc > 2) ? argv[2] : null;
   var expires=date;
   var path=("/") ;
   var domain=(argc > 4) ? argv[4] : null;
   var secure=(argc > 5) ? arg[5] : false;
   document.cookie=nom+"="+escape(valeur)+
      ((expires==null) ? "" : ("; expires="+expires.toGMTString()))+
       ((path==null) ? "" : ("; path="+path))+
      ((domain==null) ? "" : ("; domain="+domain))+
      ((secure==true) ? "; secure" : "");
}

var nb_couleur;
if(screen.colorDepth!=undefined){
 nb_couleur=screen.colorDepth;
}
else if(screen.pixelDepth!=undefined){
 nb_couleur=screen.pixelDepth;
}
else{
 nb_couleur=0;
}

var browser = parseInt(navigator.appVersion);
if (browser>=4){var resolution = (screen.height + "*" + screen.width)}
else{var resolution;}

if (navigator.appName.indexOf("Microsoft Internet Explorer")!=-1){langue=navigator.systemLanguage;}
else{langue=navigator.language;}
langue=langue.substring(0,2);

var date_geoloc = new Date();
dateloc = date_geoloc.getTime()/1000
var reg
var ref= document.referrer
page_stat = escape(document.URL)
if (ref==""){
ref="NULL"
        if(compte=="166822geovis"){
        ref='';
        page_stat = escape(document.URL)+'?compte=';
        }
}


var url = document.URL
 if(url.indexOf("/")== -1){
   reg2 = "index"
   }

   else{
   tab=url.split("/")
   var i =tab.length-1
   var page = tab[i]
    if((page == "index.htm")  || (page =="index.html") || (page == "index.php") || (page == "")|| (page == "index.php3")|| (page == "index.asp")){
    reg2 = "index"
    }
    else{
     var reg2
    }
    }
var couleur_lib;
var logo_lib;
var compteur_lib;
var categorie_lib;
var undefined

defautgif="http://geoloc13.geovisite.com:82/private/map.php?compte="+compte



var md5="";
var date_test
date_test=1229523811;
dateloc+=10;
if(geonb==1){
with(document) write('<img src = "http://geoloc13.geovisite.com:83/private/geoloc/pointeur.gif?&'+escape(compte)+'&'+escape(base_url)+'&'+escape(resolution)+'&'+escape(platform)+'&'+escape(langue)+'&'+escape(nb_couleur)+'&'+Math.round(dateloc)+'&'+page_stat+'&'+escape(ref)+'&'+escape(name_browser)+'&'+escape(version)+'&&CO&5.351700&-72.403297&Yopal&&1229523811&geocounter&3600" border="0"  width="1" height="1">');
}
geonb++;

document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="150" height="340" id="geocountermovie">');
document.write('<param name="movie" wmode="transparent" value="http://geoloc13.geovisite.com:83/skin/geocounter/6.swf?compte='+compte+'&lg=es&bro=firefox&bro_nom=Firefox&os=ubu&os_nom=ubuntu&ip=ip&ip_nom=190.24.146.71&geo_ISO=CO&geo_PAYS=Colombia&geo_LAT=5.351700&geo_LON=-72.403297&isp=isp&isp_nom=&geo_CITY=Yopal&fc=FFFFFF&p=_total&tp=Desde Entonces 2008-12-16&md5='+md5+'&skin=6&bgskin=&anim=1&f=Comic Sans MS&s=12&ca=0000FF&ci=&onl=&ofl=&ttot=&cbg=000000&cbg2=00CCFF&cbg3=&cbg4=&b=0&dn=0&dec=-2343&tau=21575&base=geoloc13&tty=&cat=Actualidad&scat=Periodismo&fuseau=Paris;FR;3600&date_website=08-12-17-15-23-31&init=&unit=&icon=&temp=&hmid=&wiso=&wcity=&referer='+escape(document.URL)+'&dateloc='+dateloc+'">');
document.write('<param name="quality" value="high">');

document.write('<param name="wmode" value="transparent">');
document.write('<embed src="http://geoloc13.geovisite.com:83/skin/geocounter/6.swf?compte='+compte+'&lg=es&bro=firefox&bro_nom=Firefox&os=ubu&os_nom=ubuntu&ip=ip&ip_nom=190.24.146.71&geo_ISO=CO&geo_PAYS=Colombia&geo_LAT=5.351700&geo_LON=-72.403297&isp=isp&isp_nom=&geo_CITY=Yopal&fc=FFFFFF&p=_total&tp=Desde Entonces 2008-12-16&md5='+md5+'&skin=6&bgskin=&anim=1&f=Comic Sans MS&s=12&ca=0000FF&ci=&onl=&ofl=&ttot=&cbg=000000&cbg2=00CCFF&cbg3=&cbg4=&b=0&dn=0&dec=-2343&tau=21575&base=geoloc13&tty=&cat=Actualidad&scat=Periodismo&fuseau=Paris;FR;3600&date_website=08-12-17-15-23-31&init=&unit=&icon=&temp=&hmid=&wiso=&wcity=&referer='+escape(document.URL)+'&dateloc='+dateloc+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="150" height="340" wmode="transparent"  name="geocountermovie"></embed>');
document.write('</object>');
